package com.tyg.service;

import com.tyg.entity.ExercisesInfo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zhangjingnan
 * @since 2022-11-05
 */
public interface ExercisesInfoService extends IService<ExercisesInfo> {

    public List<ExercisesInfo> getExerciseList();

    public ExercisesInfo selectById(Integer exercisesId);

    public List<ExercisesInfo> getExercise(Map<String, Object> map);

    public int insert(ExercisesInfo exercisesInfo);

    public boolean updateById(ExercisesInfo exercisesInfo);

    public int updateByOld( ExercisesInfo exercisesInfo);

    public ExercisesInfo retract(Integer exercisesId);
}
